<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Scope_business')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-scope_business" class="form-control " rows="5" name="row[scope_business]" cols="50">{$row.scope_business|htmlentities}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Investment_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-investment_name" class="form-control " rows="2" name="row[investment_name]" cols="50">{$row.investment_name|htmlentities}</textarea>
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Industry_type_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-industry_type_name" data-rule="required"  class="form-control " name="row[industry_type_name]" type="text" value="{$row.investment_type_name|htmlentities}">
        </div>
    </div>


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Register_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-register_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[register_time]" type="text" value="{:$row.register_time?datetime($row.register_time):''}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Investment_total')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-investment_total" class="form-control" step="0.0001" name="row[investment_total]" type="number" value="{$row.investment_total|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Registered_capital')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-registered_capital" class="form-control" step="0.0001" name="row[registered_capital]" type="number" value="{$row.registered_capital|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('External_registered_capital')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-external_registered_capital" class="form-control" step="0.0001" name="row[external_registered_capital]" type="number" value="{$row.external_registered_capital|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Actual_registered_capital')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-actual_registered_capital" class="form-control" step="0.0001" name="row[actual_registered_capital]" type="number" value="{$row.actual_registered_capital|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Industry_type_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-industry_type_name" data-rule="required"  class="form-control " name="row[industry_type_name]" type="text" value="{$row.industry_type_name|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Floor_area')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-floor_area" class="form-control" name="row[floor_area]" type="text" value="{$row.floor_area|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Street_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('row[street_id]',$streets,$row.street_id,['id'=>"street_id",'class'=>'form-control selectpicker'])}
        </div>
    </div>



    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Progression')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-progression" class="form-control " rows="5" name="row[progression]" cols="50">{$row.progression|htmlentities}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_buy_land')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[is_buy_land]', ['1'=>__('是'), '0'=>__('否')], $row['is_buy_land'])}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Handle_procedures')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-handle_procedures" class="form-control " rows="5" name="row[handle_procedures]" cols="50">{$row.handle_procedures|htmlentities}</textarea>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
